package com.itheima.guava.samples.demo.FactoryDemo;

public class Iphone implements Mobile {
    @Override
    public String brand() {
        return "Iphone";
    }

    @Override
    public double price() {
        return 5000.0;
    }

    @Override
    public String toString() {
        return this.brand() + "：" + this.price();
    }
}
